package com.example.back.service;


import com.example.back.entity.Book;
import com.github.pagehelper.PageInfo;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface BookService {
    @Transactional(readOnly = true)
   PageInfo<Book> findAllBooks(int page, int limit, String name);
}
